import Layout from '@/layout'
export default {
  path: '/staffadmin',
  component: Layout,
  redirect: '/staffadmin/courier',
  name: 'Staffadmin',
  meta: {
    title: '员工管理',
    icon: 'nested'
  },
  children: [
    {
      path: 'courier',
      component: () => import('@/views/staffadmin/courier/index'), // Parent router-view
      name: 'Courier',
      meta: { title: '快递员管理' }
    },
    {
      path: 'driver',
      component: () => import('@/views/staffadmin/driver/index'),
      name: 'Driver',
      meta: { title: '司机管理' }
    },
    {
      path: 'working',
      component: () => import('@/views/staffadmin/working/index'),
      name: 'Working',
      meta: { title: '排班管理' }
    }
  ]
}
